package cn.felord.spring.security.filter;

import javax.servlet.ServletRequest;

public interface LoginPostProcessor {

    /**
     * 获取用户名
     *
     * @param request the request
     * @return the string
     */
    String obtainUsername(ServletRequest request);

    /**
     * 获取密码
     *
     * @param request the request
     * @return the string
     */
    String obtainPassword(ServletRequest request);
}
